//This trigger is to call the Webservice for insert and update into Contact Email
trigger HF_ContactEmailSync on Contact_Email__c (after Insert, after Update) {
Set<Id> mlId = new Set<ID>();

    for(Contact_Email__c c:Trigger.new){
        mlId.add(c.Id);
    }
    system.debug('**********'+mlId);
    If(mlId!= null && mlId.size()>0)
        if(trigger.isInsert)
        {
            HF_ClientWSContactemail.AddContactEmail(mlId);
        }
        if(trigger.isUpdate)
        {
            HF_ClientWSContactemail.UpdateContactEmail(mlId);
        }
}